package com.shopmall.manager.mapper;

import com.shopmall.model.entity.product.ProductSku;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductSkuMapper {
    void save(ProductSku productSku);

    // 根据id查询商品sku信息列表 product_sku
    List<ProductSku> findProductSkuByProductId(Long id);

    // 修改product_sku
    void updateById(ProductSku productSku);

    // 根据商品id删除product_sku表
    void deleteByProductId(Long id);
}
